package com.woniuxy.stage3demo.service.kang;

import com.github.pagehelper.PageInfo;
import com.woniuxy.stage3demo.bean.kang.CustomerBean;
import com.woniuxy.stage3demo.pageHelper.PageRequest;

public interface ICustomerService {
    /**
     * 新增客服
     *
     * @param customerBean
     * @return
     */
    int addCustomer(CustomerBean customerBean);

    /**
     * 删除客服
     *
     * @param id
     * @return
     */
    int deleteCustomer(Long id);

    /**
     * 修改客服
     * @param customerBean
     * @return
     */
    int updateCustomer(CustomerBean customerBean);

    /**
     * 分页查询
     * @param pageRequest
     * @return
     */
    PageInfo<CustomerBean> findLimit(PageRequest pageRequest);

}
